package com.ruoyi.hov.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.DynamicAnnotation;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;

/**
 * <p>
 * 属性绑定hov
 * </p>
 *
 * @author XiaShiLong
 * @since 2021-04-01
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("dl_class_bind_hov")
@ApiModel(value = "ClassBindHov对象", description = "属性绑定hov")
public class ClassBindHov implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @DynamicAnnotation("主键")
    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 类路径
     */
    @DynamicAnnotation("类路径")
    @ApiModelProperty(value = "类路径")
    private String classPath;

    /**
     * 属性名
     */
    @DynamicAnnotation("属性名")
    @ApiModelProperty(value = "属性名")
    private String attributeName;

    /**
     * hovId
     */
    @DynamicAnnotation("hovId")
    @ApiModelProperty(value = "hovId")
    private Long hovId;

    /**
     * 绑定列名
     */
    @DynamicAnnotation("绑定列名")
    @ApiModelProperty(value = "绑定列名")
    private String buildColumnName;

}
